home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-09-17 | 1.6 KB | 80 lines | [TEXT/MPS ] |
- //==============================================================================
- //
- // File: SLStrRun.idl
- //
- // Contains: Interface for OTextRunReader and OTextRunWriter classes
- //
- // Copyright: (c) 1993 - 1996 by Apple Computer, Inc., all rights reserved.
- //
- //==============================================================================
-
- #ifndef SLSTRRUN_IDL
- #define SLSTRRUN_IDL
-
- #ifndef SLTXTRUN_IDL
- #include "SLTxtRun.idl"
- #endif
-
- //========================================================================================
- // Interfaces defined in this unit
- //========================================================================================
-
- interface FW_OStringRunWriter;
-
- //========================================================================================
- // FW_OStringRunWriter
- //========================================================================================
-
- // typedef somToken FW_HString;
-
- interface FW_OStringRunWriter : FW_OTextRunWriter
- {
- FW_OStringRunWriter Initialize(in FW_HString theString, in short bufferSize);
-
- #ifdef __SOMIDL__
- implementation
- {
- functionprefix = "FW_OStringRunWriter__";
-
- override:
- somInit,
- somUninit,
- GetCurrentRun,
- FlushRun,
- NewRun,
- GetLocale;
-
- releaseorder:
- somInit,
- somUninit,
- GetCurrentRun,
- FlushRun,
- NewRun,
- Initialize,
- GetLocale;
-
- majorversion = 1;
- minorversion = 0;
-
- passthru C_xh =
- "";
-
- // passthru C_xh =
- // "struct FW_SPrivStringRep;";
-
- passthru C_xih =
- "";
-
- #ifdef __PRIVATE__
- // private data members here
- FW_HString fString;
- short fBufferSize;
- char* fBuffer;
- #endif
-
- };
- #endif
- };
-
- #endif
-